import request from '@/utils/request'

// 获取任务分页数

export const getTaskPage = data => request.post('/transport-task-manager/page', data)

// 获取运输任务详情

export const getTransport = id => request.get(`/transport-task-manager/${id}`)

// 修改订单信息

export const editdetail = data => request.put(`/transport-task-manager/adjust/${data.id}`, data)

// 获取树状机构
export const treeList = () => request.get('/business-hall/tree')
